import request from "@/utils/request"
import config from "@/config"

export default {
    info: {
        url: `${config.API_PREFIX}/system/power`,
        name: "根据主键查询系统权限",
        get: function (id, isExtend = false) {
            return request.get(this.url + `/${id}`, {isExtend: isExtend});
        }
    },
    lists: {
        url: `${config.API_PREFIX}/system/power/lists`,
        name: "（可分页）查询系统权限列表",
        get: function (queryDto) {
            return request.get(this.url, queryDto);
        }
    }
}